home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / layout / nsFrameManagerBase.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  83 lines

  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  * vim:cindent:ts=2:et:sw=2:
  3.  *
  4.  * ***** BEGIN LICENSE BLOCK *****
  5.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6.  *
  7.  * The contents of this file are subject to the Mozilla Public License Version
  8.  * 1.1 (the "License"); you may not use this file except in compliance with
  9.  * the License. You may obtain a copy of the License at
  10.  * http://www.mozilla.org/MPL/
  11.  *
  12.  * Software distributed under the License is distributed on an "AS IS" basis,
  13.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14.  * for the specific language governing rights and limitations under the
  15.  * License.
  16.  *
  17.  * The Original Code is mozilla.org code.
  18.  *
  19.  * The Initial Developer of the Original Code is
  20.  * Netscape Communications Corporation.
  21.  * Portions created by the Initial Developer are Copyright (C) 1998
  22.  * the Initial Developer. All Rights Reserved.
  23.  *
  24.  * Contributor(s):
  25.  *   Pierre Phaneuf <pp@ludusdesign.com>
  26.  *   Brian Ryner <bryner@brianryner.com>
  27.  *
  28.  * Alternatively, the contents of this file may be used under the terms of
  29.  * either of the GNU General Public License Version 2 or later (the "GPL"),
  30.  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.  * in which case the provisions of the GPL or the LGPL are applicable instead
  32.  * of those above. If you wish to allow use of your version of this file only
  33.  * under the terms of either the GPL or the LGPL, and not to allow others to
  34.  * use your version of this file under the terms of the MPL, indicate your
  35.  * decision by deleting the provisions above and replace them with the notice
  36.  * and other provisions required by the GPL or the LGPL. If you do not delete
  37.  * the provisions above, a recipient may use your version of this file under
  38.  * the terms of any one of the MPL, the GPL or the LGPL.
  39.  *
  40.  * ***** END LICENSE BLOCK *****
  41.  *
  42.  * This Original Code has been modified by IBM Corporation. Modifications made
  43.  * by IBM described herein are Copyright (c) International Business Machines
  44.  * Corporation, 2000. Modifications to Mozilla code or documentation identified
  45.  * per MPL Section 3.3
  46.  *
  47.  * Date             Modified by     Description of modification
  48.  * 04/20/2000       IBM Corp.      OS/2 VisualAge build.
  49.  */
  50.  
  51. #ifndef _nsFrameManagerBase_h_
  52. #define _nsFrameManagerBase_h_
  53.  
  54. #include "pldhash.h"
  55.  
  56. class nsIPresShell;
  57. class nsStyleSet;
  58. class nsIContent;
  59. class nsPlaceholderFrame;
  60. class nsIFrame;
  61. class nsStyleContext;
  62. class nsIAtom;
  63. class nsStyleChangeList;
  64. class nsILayoutHistoryState;
  65.  
  66. class nsFrameManagerBase
  67. {
  68. protected:
  69.   class UndisplayedMap;
  70.  
  71.   // weak link, because the pres shell owns us
  72.   nsIPresShell*                   mPresShell;
  73.   // the pres shell owns the style set
  74.   nsStyleSet*                     mStyleSet;
  75.   nsIFrame*                       mRootFrame;
  76.   PLDHashTable                    mPrimaryFrameMap;
  77.   PLDHashTable                    mPlaceholderMap;
  78.   UndisplayedMap*                 mUndisplayedMap;
  79.   PRBool                          mIsDestroyingFrames;
  80. };
  81.  
  82. #endif
  83.